//
//  LKUFOpenShopHeaderRowCell.m
//  Mideleague_Shop
//
//  Created by Zhiwang on 2020/6/4.
//  Copyright © 2020 Zhiwang. All rights reserved.
//

#import "LKUFOpenShopHeaderRowCell.h"
#import "LKUFOpenShopHeaderRow.h"
@interface LKUFOpenShopHeaderRowCell()

@property(nonatomic,strong)LKUFOpenShopHeaderRow *hederRow;

@property(nonatomic,strong)UIImageView *headerImagev;

@end


@implementation LKUFOpenShopHeaderRowCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.backgroundColor = viewDefualtColor;
        _headerImagev = [[UIImageView alloc] initWithFrame:CGRectMake(13, 10,WIDTH - 26, (WIDTH - 26)/7)];
        [self.contentView addSubview:_headerImagev];
    }
    return self;
}
-(void)setRow:(__kindof UFRow *)row{
    _hederRow = row;
    [super setRow:row];
    self.headerImagev.image = _hederRow.headerImage;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
